package xml;

import java.io.File;

public class DocumentXML {
	private TagXML radacina = null;
	public boolean hasInstance = false;
	File f = null;
	public DocumentXML instance = null;
	
	public DocumentXML(TagXML rad, String filename){
		this.radacina = rad;
		this.f = new File(filename);
	}
	//get set xml
	public void setXMLFile(String filename){
		this.f = new File(filename);
	}
	public File getXMLFile(){
		return this.f;
	}
	public DocumentXML getInstance(){
		return this.instance;
	}
	public TagXML getRadacina() {
		return radacina;
	}
	public void setRadacina(TagXML radacina) {
		this.radacina = radacina;
	}
	public void acceptVisitor(XMLVisitor v){
		
	}//NOT COMPLETE
}
